package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {

     List<Course> courseList() ;

     Course selectcourseList(Integer id);

     void updateCourse(Course course);

     void insertCourse(Course course);

     void deleteCourseByIds(Integer[] ids);

     int updateCoursePicture(Course course);

     void updateCoursePicture(Integer id, Course course);
}
